package aiyh.utils.sqlUtil.sqlResult.impl;

import aiyh.utils.sqlUtil.sqlResult.SqlResult;

import java.util.List;

/**
 * @author EBU7-dev1-ayh
 * @date 2021/8/23 0023 14:39
 * prepSqlResult
 */


public class PrepSqlResultImpl implements SqlResult {
	private final String sqlStr;
	private final List<Object> args;

	public PrepSqlResultImpl(String sqlStr, List<Object> args) {
		this.sqlStr = sqlStr;
		this.args = args;
	}

	public String getSqlStr() {
		return sqlStr;
	}

	public List<Object> getArgs() {
		return args;
	}

    @Override
    public String toString() {
        return "PrepSqlResultImpl{" +
                "sqlStr='" + sqlStr + '\'' +
                ", args=" + args +
                '}';
    }
}
